package com.basic.seleniumstudy.demos.domain;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import java.time.LocalDateTime;

/**
 * 二级分类，入驻用/搜索用
 */
@AllArgsConstructor
@NoArgsConstructor
public class L2Type {

    private Integer id;

    // 文字描述
    private String describe;
    // 图片地址
    private String imgUrl;
    // 类型：1.入驻用 2.搜索用
    private Integer useType;
    // 是否显示
    private Integer isShow;
    // 逻辑删除
    private Integer isDelete;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
    // 是否排他
    private Integer isAlone;
    // 添加、修改人


    @Override
    public String toString() {
        return "L2Type{" +
                "id=" + id +
                ", describe='" + describe + '\'' +
                ", imgUrl='" + imgUrl + '\'' +
                ", useType=" + useType +
                ", isShow=" + isShow +
                ", isDelete=" + isDelete +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", isAlone=" + isAlone +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public Integer getUseType() {
        return useType;
    }

    public void setUseType(Integer useType) {
        this.useType = useType;
    }

    public Integer getIsShow() {
        return isShow;
    }

    public void setIsShow(Integer isShow) {
        this.isShow = isShow;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getIsAlone() {
        return isAlone;
    }

    public void setIsAlone(Integer isAlone) {
        this.isAlone = isAlone;
    }
}
